package com.core.zyyz.pcmc.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 应用对象 pcmc_application
 *
 * @author core
 * @date 2024-10-21
 */
public class PcmcApplication extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 应用编号 */
    private String appCode;

    /** 应用名称 */
    private String appName;

    /** 应用名称全称 */
    private String appFullName;

    /** 子系统图标 */
    private String appIcon;

    /** 是否外部应用 */
    private String isExternal;

    /** 外部应用超链接地址 */
    private String externalUrl;

    /** 国际化语言编码 */
    private String i18nCode;

    /** 是否公共应用 */
    private String isPublic;

    /** 排序号 */
    private Integer sortNo;

    /** 说明 */
    private String description;

    /** 是否启用 */
    private String isEnabled;

    /** 自 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDateActive;

    /** 至 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDateActive;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    /** 最后更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后更新用户编码 */
    private String lastUpdateBy;

    public void setAppCode(String appCode)
    {
        this.appCode = appCode;
    }

    public String getAppCode()
    {
        return appCode;
    }
    public void setAppName(String appName)
    {
        this.appName = appName;
    }

    public String getAppName()
    {
        return appName;
    }
    public void setAppFullName(String appFullName)
    {
        this.appFullName = appFullName;
    }

    public String getAppFullName()
    {
        return appFullName;
    }
    public void setAppIcon(String appIcon)
    {
        this.appIcon = appIcon;
    }

    public String getAppIcon()
    {
        return appIcon;
    }
    public void setIsExternal(String isExternal)
    {
        this.isExternal = isExternal;
    }

    public String getIsExternal()
    {
        return isExternal;
    }
    public void setExternalUrl(String externalUrl)
    {
        this.externalUrl = externalUrl;
    }

    public String getExternalUrl()
    {
        return externalUrl;
    }
    public void setI18nCode(String i18nCode)
    {
        this.i18nCode = i18nCode;
    }

    public String getI18nCode()
    {
        return i18nCode;
    }
    public void setIsPublic(String isPublic)
    {
        this.isPublic = isPublic;
    }

    public String getIsPublic()
    {
        return isPublic;
    }
    public void setSortNo(Integer sortNo)
    {
        this.sortNo = sortNo;
    }

    public Integer getSortNo()
    {
        return sortNo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setIsEnabled(String isEnabled) {
        this.isEnabled = isEnabled;
    }

    public String getIsEnabled()
    {
        return isEnabled;
    }
    public void setStartDateActive(Date startDateActive)
    {
        this.startDateActive = startDateActive;
    }

    public Date getStartDateActive()
    {
        return startDateActive;
    }
    public void setEndDateActive(Date endDateActive)
    {
        this.endDateActive = endDateActive;
    }

    public Date getEndDateActive()
    {
        return endDateActive;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate)
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate()
    {
        return lastUpdateDate;
    }
    public void setLastUpdateBy(String lastUpdateBy)
    {
        this.lastUpdateBy = lastUpdateBy;
    }

    public String getLastUpdateBy()
    {
        return lastUpdateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("appCode", getAppCode())
                .append("appName", getAppName())
                .append("appFullName", getAppFullName())
                .append("appIcon", getAppIcon())
                .append("isExternal", getIsExternal())
                .append("externalUrl", getExternalUrl())
                .append("i18nCode", getI18nCode())
                .append("isPublic", getIsPublic())
                .append("sortNo", getSortNo())
                .append("description", getDescription())
                .append("isEnabled", getIsEnabled())
                .append("startDateActive", getStartDateActive())
                .append("endDateActive", getEndDateActive())
                .append("createDate", getCreateDate())
                .append("createBy", getCreateBy())
                .append("lastUpdateDate", getLastUpdateDate())
                .append("lastUpdateBy", getLastUpdateBy())
                .toString();
    }
}
